package com.zzh.takeoutapp.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/8/4.
 */

public class EvaluateBean implements Serializable {


    /**
     * data : {"items":[{"comment_id":"697","shop_id":"182","uid":"86","order_id":"4735","score":"4","content":"很好很强大","pei_time":"准时送达","have_photo":"1","reply":"","reply_time":"0","dateline":"1533711305","comment_photos":[{"photo_id":"10","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_C0ED108EEE898D15353B3D5861B51A21.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"11","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_7206A3C6293A58C23F3C5ABE6E4C9C00.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"12","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_D7C32B4525B04FCA9755E7C73DF347C0.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"13","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_41FE25C1E1A21543CFF63B545BB16590.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"14","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_1DFBEF2F9813E72B52551310AFBBF97A.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"15","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_B45EF0A47DE0E94EDF681B7D7B6AE934.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"16","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_55F78AD2E5CBC4568D3FAA88F7BA3B2D.jpg_thumb.jpg","dateline":"1533711305"}],"nickname":"回头看看1","face":"http://wm.hn796.net/attachs/photo/201807/20180730_0C2B10F71505B8271A95B53F7D8E58EC.png"}],"detail":{"avg_score":"4","avg_good":"100","avg_peisong":"4"},"switchnav":[{"name":"全部","num":"1"},{"name":"满意","num":"1"},{"name":"一般","num":"0"},{"name":"不满意","num":"0"},{"name":"有图","num":"1"}]}
     * error : 0
     * message : success
     */

    private DataBean data;
    private String error;
    private String message;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * items : [{"comment_id":"697","shop_id":"182","uid":"86","order_id":"4735","score":"4","content":"很好很强大","pei_time":"准时送达","have_photo":"1","reply":"","reply_time":"0","dateline":"1533711305","comment_photos":[{"photo_id":"10","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_C0ED108EEE898D15353B3D5861B51A21.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"11","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_7206A3C6293A58C23F3C5ABE6E4C9C00.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"12","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_D7C32B4525B04FCA9755E7C73DF347C0.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"13","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_41FE25C1E1A21543CFF63B545BB16590.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"14","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_1DFBEF2F9813E72B52551310AFBBF97A.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"15","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_B45EF0A47DE0E94EDF681B7D7B6AE934.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"16","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_55F78AD2E5CBC4568D3FAA88F7BA3B2D.jpg_thumb.jpg","dateline":"1533711305"}],"nickname":"回头看看1","face":"http://wm.hn796.net/attachs/photo/201807/20180730_0C2B10F71505B8271A95B53F7D8E58EC.png"}]
         * detail : {"avg_score":"4","avg_good":"100","avg_peisong":"4"}
         * switchnav : [{"name":"全部","num":"1"},{"name":"满意","num":"1"},{"name":"一般","num":"0"},{"name":"不满意","num":"0"},{"name":"有图","num":"1"}]
         */

        private DetailBean detail;
        private List<ItemsBean> items;
        private List<SwitchnavBean> switchnav;

        public DetailBean getDetail() {
            return detail;
        }

        public void setDetail(DetailBean detail) {
            this.detail = detail;
        }

        public List<ItemsBean> getItems() {
            return items;
        }

        public void setItems(List<ItemsBean> items) {
            this.items = items;
        }

        public List<SwitchnavBean> getSwitchnav() {
            return switchnav;
        }

        public void setSwitchnav(List<SwitchnavBean> switchnav) {
            this.switchnav = switchnav;
        }

        public static class DetailBean {
            /**
             * avg_score : 4
             * avg_good : 100
             * avg_peisong : 4
             */

            private String avg_score;
            private String avg_good;
            private String avg_peisong;

            public String getAvg_score() {
                return avg_score;
            }

            public void setAvg_score(String avg_score) {
                this.avg_score = avg_score;
            }

            public String getAvg_good() {
                return avg_good;
            }

            public void setAvg_good(String avg_good) {
                this.avg_good = avg_good;
            }

            public String getAvg_peisong() {
                return avg_peisong;
            }

            public void setAvg_peisong(String avg_peisong) {
                this.avg_peisong = avg_peisong;
            }
        }

        public static class ItemsBean {

            /**
             * comment_id : 697
             * shop_id : 182
             * uid : 86
             * order_id : 4735
             * score : 4
             * content : 很好很强大
             * pei_time : 准时送达
             * have_photo : 1
             * reply :
             * reply_time : 0
             * dateline : 1533711305
             * comment_photos : [{"photo_id":"10","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_C0ED108EEE898D15353B3D5861B51A21.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"11","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_7206A3C6293A58C23F3C5ABE6E4C9C00.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"12","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_D7C32B4525B04FCA9755E7C73DF347C0.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"13","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_41FE25C1E1A21543CFF63B545BB16590.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"14","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_1DFBEF2F9813E72B52551310AFBBF97A.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"15","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_B45EF0A47DE0E94EDF681B7D7B6AE934.jpg_thumb.jpg","dateline":"1533711305"},{"photo_id":"16","comment_id":"697","photo":"http://wm.hn796.net/attachs/photo/201808/20180808_55F78AD2E5CBC4568D3FAA88F7BA3B2D.jpg_thumb.jpg","dateline":"1533711305"}]
             * nickname : 回头看看1
             * face : http://wm.hn796.net/attachs/photo/201807/20180730_0C2B10F71505B8271A95B53F7D8E58EC.png
             */

            private String comment_id;

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            private String username;
            private String shop_id;
            private String uid;
            private String order_id;
            private String score;
            private String content;
            private String pei_time;
            private String have_photo;
            private String reply;
            private String reply_time;
            private String dateline;
            private String nickname;
            private String face;
            private List<CommentPhotosBean> comment_photos;

            public String getComment_id() {
                return comment_id;
            }

            public void setComment_id(String comment_id) {
                this.comment_id = comment_id;
            }

            public String getShop_id() {
                return shop_id;
            }

            public void setShop_id(String shop_id) {
                this.shop_id = shop_id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPei_time() {
                return pei_time;
            }

            public void setPei_time(String pei_time) {
                this.pei_time = pei_time;
            }

            public String getHave_photo() {
                return have_photo;
            }

            public void setHave_photo(String have_photo) {
                this.have_photo = have_photo;
            }

            public String getReply() {
                return reply;
            }

            public void setReply(String reply) {
                this.reply = reply;
            }

            public String getReply_time() {
                return reply_time;
            }

            public void setReply_time(String reply_time) {
                this.reply_time = reply_time;
            }

            public String getDateline() {
                return dateline;
            }

            public void setDateline(String dateline) {
                this.dateline = dateline;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getFace() {
                return face;
            }

            public void setFace(String face) {
                this.face = face;
            }

            public List<CommentPhotosBean> getComment_photos() {
                return comment_photos;
            }

            public void setComment_photos(List<CommentPhotosBean> comment_photos) {
                this.comment_photos = comment_photos;
            }

            public static class CommentPhotosBean {
                /**
                 * photo_id : 10
                 * comment_id : 697
                 * photo : http://wm.hn796.net/attachs/photo/201808/20180808_C0ED108EEE898D15353B3D5861B51A21.jpg_thumb.jpg
                 * dateline : 1533711305
                 */

                private String photo_id;
                private String comment_id;
                private String photo;
                private String dateline;

                public String getPhoto_id() {
                    return photo_id;
                }

                public void setPhoto_id(String photo_id) {
                    this.photo_id = photo_id;
                }

                public String getComment_id() {
                    return comment_id;
                }

                public void setComment_id(String comment_id) {
                    this.comment_id = comment_id;
                }

                public String getPhoto() {
                    return photo;
                }

                public void setPhoto(String photo) {
                    this.photo = photo;
                }

                public String getDateline() {
                    return dateline;
                }

                public void setDateline(String dateline) {
                    this.dateline = dateline;
                }
            }
        }

        public static class SwitchnavBean {
            /**
             * name : 全部
             * num : 1
             */

            private String name;
            private String num;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }
        }
    }
}
